// 蜂窝蜜造平台生成代码，如手工更改，请添加到 .beeignore 忽略生成

package com.fowo.api.entity;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fowo.api.common.annotaion.*;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

/**
 * SalesDailyList
 */
@DS("ds24")
@Getter
@Setter
@TableName(value = "sales_daily_list", autoResultMap = true)
@Schema(title = "销量统计")
public class SalesDailyList implements Serializable {

  /**
   * 编号
   */
  @TableField(value = "`id`")
  @TableId(type = IdType.ASSIGN_ID)
  @Schema(title = "编号")
  private Long id;

  /**
   * 创建时间
   */
  @TableField(value = "`create_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "创建时间")
  private java.util.Date createTime;

  /**
   * 创建人
   */
  @TableField(value = "`create_user`")
  @Schema(title = "创建人")
  private Long createUser;

  /**
   * 更新时间
   */
  @TableField(value = "`last_update_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "更新时间")
  private java.util.Date lastUpdateTime;

  /**
   * 更新人
   */
  @TableField(value = "`last_update_user`")
  @Schema(title = "更新人")
  private Long lastUpdateUser;

  /**
   * 删除标记
   */
  @TableField(value = "`del_flag`")
  @TableLogic
  @Schema(title = "删除标记")
  private Boolean delFlag;

  /**
   * 店铺编码
   */
  @TableField(value = "`scode`")
  @Schema(title = "店铺编码")
  private String scode;

  /**
   * 报表日期【站点时间】
   */
  @TableField(value = "`bb_data`")
  @Schema(title = "报表日期【站点时间】")
  private String bbData;

  /**
   * 币种
   */
  @TableField(value = "`currency_code`")
  @Schema(title = "币种")
  private String currencyCode;

  /**
   * ASIN
   */
  @TableField(value = "`asin`")
  @Schema(title = "ASIN")
  private String asin;

  /**
   * 品名
   */
  @TableField(value = "`product_name`")
  @Schema(title = "品名")
  private String productName;

  /**
   * 参数type对应的统计量
   */
  @TableField(value = "`map_value`")
  @Schema(title = "参数type对应的统计量")
  private java.math.BigDecimal mapValue;

  /**
   * 店铺id
   */
  @TableField(value = "`sid`")
  @Schema(title = "店铺id")
  private Long sid;

  /**
   * 产品id
   */
  @TableField(value = "`pid`")
  @Schema(title = "产品id")
  private Long pid;
}
